
        :root {
            /* Enhanced Bordeaux Pink Theme */
            --night-bordeaux: #4a0a1aff;
            --dark-amaranth: #6b0d25ff;
            --cherry-rose: #9d174dff;
            --rosewood: #be185dff;
            --bubblegum-pink: #f43f5eff;
            --bubblegum-pink-2: #fb7185ff;
            --cotton-candy: #f9a8b4ff;
            --cherry-blossom: #fbcfe8ff;
            --pastel-pink: #fce7f3ff;
            --lavender-blush: #fdf4ff;
            --white: #ffffff;
            
            /* Gradients */
            --primary-gradient: linear-gradient(135deg, var(--rosewood) 0%, var(--bubblegum-pink) 50%, var(--bubblegum-pink-2) 100%);
            --secondary-gradient: linear-gradient(135deg, var(--cherry-rose) 0%, var(--cotton-candy) 100%);
            --accent-gradient: linear-gradient(135deg, var(--bubblegum-pink) 0%, var(--cherry-blossom) 100%);
            --bg-gradient: linear-gradient(135deg, var(--night-bordeaux) 0%, var(--dark-amaranth) 25%, var(--cherry-rose) 50%, var(--rosewood) 100%);
            --glass-bg: rgba(255, 248, 251, 0.97);
            --glass-dark: rgba(255, 240, 243, 0.92);
            --text-primary: #1e1b22;
            --text-secondary: #4b5563;
            --border-light: rgba(251, 146, 171, 0.4);
            --shadow-primary: 0 25px 50px rgba(244, 63, 94, 0.25);
            --shadow-hover: 0 35px 70px rgba(251, 113, 133, 0.35);
            --shadow-glow: 0 0 30px rgba(244, 63, 94, 0.4);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-gradient);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(244, 63, 94, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(251, 113, 133, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(251, 207, 232, 0.08) 0%, transparent 50%);
            z-index: -2;
            animation: bgShift 20s ease-in-out infinite alternate;
        }

        @keyframes bgShift {
            0% { transform: scale(1) rotate(0deg); }
            100% { transform: scale(1.05) rotate(1deg); }
        }

        .container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;
        }

        /* Header */
        .header {
            text-align: center;
            margin: 60px 0 50px;
            color: var(--white);
            position: relative;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 120px;
            background: var(--accent-gradient);
            border-radius: 50%;
            opacity: 0.3;
            animation: float 6s ease-in-out infinite;
        }

        .header h1 {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 800;
            margin-bottom: 15px;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
            z-index: 2;
        }

        .header p {
            font-size: clamp(1.1rem, 3vw, 1.4rem);
            opacity: 0.95;
            font-weight: 300;
            color: var(--cherry-blossom);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Search Section - Enhanced */
        .search-section {
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border-radius: 40px;
            padding: 60px 40px;
            box-shadow: var(--shadow-primary), var(--shadow-glow);
            margin-bottom: 60px;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-light);
            animation: slideUp 1s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .search-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: var(--primary-gradient);
            border-radius: 40px 40px 0 0;
        }

        .search-section::after {
            content: '';
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, var(--bubblegum-pink) 20%, transparent 70%);
            border-radius: 50%;
            opacity: 0.15;
            animation: pulse 3s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.15; }
            50% { transform: translateX(-50%) scale(1.2); opacity: 0.25; }
        }

        .search-container {
            position: relative;
            max-width: 700px;
            margin: 0 auto;
        }

        .search-input {
            width: 100%;
            padding: 25px 90px 25px 35px;
            font-size: 1.2rem;
            border: 2px solid var(--border-light);
            border-radius: 50px;
            outline: none;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 15px 40px rgba(244, 63, 94, 0.15);
            color: var(--text-primary);
            backdrop-filter: blur(15px);
            font-weight: 500;
        }

        .search-input::placeholder {
            color: rgba(74, 44, 58, 0.5);
            font-weight: 400;
        }

        .search-input:focus {
            border-color: var(--bubblegum-pink);
            box-shadow: 0 25px 60px rgba(244, 63, 94, 0.35), var(--shadow-glow);
            transform: translateY(-4px);
            background: var(--white);
        }

        .search-btn {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary-gradient);
            border: none;
            width: 75px;
            height: 75px;
            border-radius: 50%;
            color: var(--white);
            font-size: 1.4rem;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 12px 35px rgba(244, 63, 94, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .search-btn:hover {
            transform: translateY(-50%) scale(1.2) rotate(10deg);
            box-shadow: 0 20px 50px rgba(244, 63, 94, 0.5), var(--shadow-glow);
        }

        .search-btn:active {
            transform: translateY(-50%) scale(0.95);
        }

        /* Loading & States */
        .loading, .empty-state {
            text-align: center;
            padding: 100px 30px;
            color: var(--text-secondary);
            animation: slideUp 0.8s ease-out;
        }

        .spinner {
            width: 70px;
            height: 70px;
            border: 6px solid rgba(251, 207, 232, 0.3);
            border-top: 6px solid var(--bubblegum-pink);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 30px;
            box-shadow: var(--shadow-glow);
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .empty-state i {
            font-size: 8rem;
            background: var(--secondary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 30px;
            opacity: 0.85;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-15px); }
            60% { transform: translateY(-8px); }
        }

        /* Recipe Grid */
        .recipes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            gap: 40px;
            margin-bottom: 60px;
        }

        .recipe-card {
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border-radius: 30px;
            overflow: hidden;
            box-shadow: var(--shadow-primary);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            position: relative;
            border: 1px solid var(--border-light);
            animation: cardSlide 0.8s ease-out forwards;
            opacity: 0;
            transform: translateY(50px);
        }

        .recipe-card:nth-child(1) { animation-delay: 0.1s; }
        .recipe-card:nth-child(2) { animation-delay: 0.2s; }
        .recipe-card:nth-child(3) { animation-delay: 0.3s; }
        .recipe-card:nth-child(4) { animation-delay: 0.3s; }
        .recipe-card:nth-child(5) { animation-delay: 0.4s; }
        .recipe-card:nth-child(6) { animation-delay: 0.5s; }

        @keyframes cardSlide {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .recipe-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--accent-gradient);
        }

        .recipe-card:hover {
            transform: translateY(-20px) scale(1.03);
            box-shadow: var(--shadow-hover), var(--shadow-glow);
        }

        .recipe-image {
            width: 100%;
            height: 280px;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .recipe-card:hover .recipe-image {
            transform: scale(1.1);
        }

        .recipe-content {
            padding: 35px;
        }

        .recipe-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text-primary);
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .recipe-category {
            color: var(--bubblegum-pink);
            font-weight: 600;
            font-size: 1.05rem;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .view-btn {
            width: 100%;
            padding: 18px 35px;
            background: var(--primary-gradient);
            color: var(--white);
            border: none;
            border-radius: 35px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            box-shadow: 0 10px 30px rgba(244, 63, 94, 0.35);
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .view-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--secondary-gradient);
            transition: left 0.5s ease;
            z-index: 0;
        }

        .view-btn:hover::before {
            left: 0;
        }

        .view-btn span {
            position: relative;
            z-index: 1;
        }

        .view-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 45px rgba(244, 63, 94, 0.45), var(--shadow-glow);
        }

        /* Modal - Enhanced */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(74, 10, 26, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 10000;
            animation: fadeInModal 0.4s ease;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
        }

        @keyframes fadeInModal {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: var(--glass-dark);
            border-radius: 35px;
            max-width: 1000px;
            max-height: 95vh;
            width: 100%;
            overflow-y: auto;
            position: relative;
            animation: modalSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 50px 100px rgba(107, 13, 37, 0.5), var(--shadow-glow);
            border: 1px solid var(--border-light);
            backdrop-filter: blur(30px);
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(50px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-header {
            position: relative;
            background: var(--primary-gradient);
            color: var(--white);
            padding: 40px 45px;
            border-radius: 35px 35px 0 0;
        }

        .modal-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 10px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .modal-close {
            position: absolute;
            top: 35px;
            right: 35px;
            background: rgba(255,255,255,0.3);
            border: none;
            width: 55px;
            height: 55px;
            border-radius: 50%;
            color: var(--white);
            font-size: 1.4rem;
            cursor: pointer;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(15px);
        }

        .modal-close:hover {
            background: rgba(255,255,255,0.4);
            transform: scale(1.2) rotate(180deg);
            box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        }

        .modal-body {
            padding: 50px 45px 45px;
        }

        .modal-image {
            width: 100%;
            height: 350px;
            object-fit: cover;
            border-radius: 25px;
            margin-bottom: 40px;
            box-shadow: 0 25px 50px rgba(244, 63, 94, 0.25);
            border: 1px solid var(--border-light);
            transition: transform 0.4s ease;
        }

        .modal-image:hover {
            transform: scale(1.02);
        }

        .ingredients-section, .instructions-section {
            margin-bottom: 40px;
        }

        .section-title {
            font-size: 1.7rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .ingredients-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .ingredient {
            background: rgba(255, 248, 251, 0.85);
            padding: 22px 30px;
            border-radius: 20px;
            font-weight: 500;
            border-left: 6px solid var(--bubblegum-pink);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 8px 25px rgba(244, 63, 94, 0.15);
            backdrop-filter: blur(15px);
            border: 1px solid var(--border-light);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .ingredient::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, var(--bubblegum-pink), var(--rosewood));
        }

        .ingredient:hover {
            background: rgba(255, 240, 243, 1);
            transform: translateX(10px);
            box-shadow: 0 15px 40px rgba(244, 63, 94, 0.25), var(--shadow-glow);
        }

        .instructions {
            background: rgba(255, 248, 251, 0.85);
            padding: 35px;
            border-radius: 25px;
            line-height: 1.9;
            backdrop-filter: blur(15px);
            border: 1px solid var(--border-light);
            box-shadow: 0 15px 40px rgba(244, 63, 94, 0.15);
            white-space: pre-line;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .recipes-grid {
                grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
                gap: 30px;
            }
            .search-section {
                padding: 45px 30px;
                margin-bottom: 40px;
            }
            .modal-content {
                margin: 20px;
                max-height: 97vh;
                border-radius: 30px;
            }
        }

        @media (max-width: 480px) {
            .container { padding: 0 15px; }
            .recipes-grid { grid-template-columns: 1fr; gap: 25px; }
            .header h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
            .recipe-content { padding: 30px 25px; }
        }

        /* Custom Scrollbar */
        .modal-content::-webkit-scrollbar {
            width: 12px;
        }
        .modal-content::-webkit-scrollbar-track {
            background: rgba(255, 248, 251, 0.6);
            border-radius: 15px;
            border: 1px solid var(--border-light);
        }
        .modal-content::-webkit-scrollbar-thumb {
            background: var(--primary-gradient);
            border-radius: 15px;
            border: 2px solid rgba(255, 248, 251, 0.9);
        }

        /* Accessibility */
        .search-input:focus-visible,
        .view-btn:focus-visible,
        .modal-close:focus-visible,
        .recipe-card:focus-visible {
            outline: 4px solid var(--bubblegum-pink);
            outline-offset: 3px;
        }

        /* Floating Animation */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }
        .search-section { animation: float 7s ease-in-out infinite; }
    