/* Makeup Glossary Stylesheet */
        :root {
            --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
            --tertiary-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
            --background: #f8fafc;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --card-bg: #ffffff;
            --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        }

        body {
            background: var(--background);
            font-family: 'Inter', sans-serif;
            color: var(--text-primary);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        .main-header {
            background: var(--primary-gradient);
            color: white;
            padding: 2rem 1rem;
            margin-bottom: 2rem;
            position: relative;
            overflow: hidden;
        }

        .main-header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
        }

        .main-header h1 {
            font-size: 1.75rem;
            font-weight: 700;
            margin: 0;
            position: relative;
            z-index: 1;
        }

        .card {
            background: var(--card-bg);
            border: none;
            border-radius: 1rem;
            box-shadow: var(--card-shadow);
            margin-bottom: 1.5rem;
            transition: box-shadow 0.2s ease;
            overflow: hidden;
        }

        .card:hover {
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        }

        .card-header {
            background: var(--primary-gradient);
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 1.25rem;
            border: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .card-header:active {
            background: var(--primary-gradient);
            opacity: 0.95;
        }

        .card:nth-child(2) .card-header {
            background: var(--secondary-gradient);
        }

        .card:nth-child(3) .card-header {
            background: var(--tertiary-gradient);
        }

        .card-header i {
            transition: transform 0.3s ease;
        }

        .card-header.collapsed i {
            transform: rotate(-90deg);
        }

        .card-body {
            padding: 1.5rem;
        }

        .list-group-item {
            background: transparent;
            border: none;
            padding: 1rem;
            margin-bottom: 0.5rem;
            border-radius: 0.75rem !important;
            transition: background-color 0.2s ease;
        }

        .list-group-item:active {
            background-color: #f8fafc;
        }

        .term-title {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .term-description {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .badge-slang {
            background: var(--primary-gradient);
            color: white;
            font-size: 0.8rem;
            font-weight: 500;
            padding: 0.4rem 0.8rem;
            border-radius: 1rem;
            margin-right: 0.5rem;
            display: inline-block;
        }

        .sub-section {
            background: #f8fafc;
            border-radius: 0.75rem;
            padding: 1rem;
            margin-top: 1rem;
        }

        .sub-section-title {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        #backToTop {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            background: var(--primary-gradient);
            color: white;
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            box-shadow: var(--card-shadow);
            border: none;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1000;
        }

        #backToTop.visible {
            opacity: 1;
        }

        .fade-in {
            animation: fadeIn 0.5s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .main-header {
                padding: 1.5rem 1rem;
            }

            .main-header h1 {
                font-size: 1.5rem;
            }

            .card-header {
                font-size: 1rem;
                padding: 1rem;
            }

            .card-body {
                padding: 1rem;
            }

            .list-group-item {
                padding: 0.75rem;
            }

            .term-title {
                font-size: 1rem;
            }

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

            .badge-slang {
                font-size: 0.75rem;
                padding: 0.3rem 0.6rem;
            }
        }

        .term-icon {
            width: 24px;
            height: 24px;
            margin-right: 0.5rem;
            color: #6366f1;
        }

        .term-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 0.75rem;
            margin: 1rem 0;
            box-shadow: var(--card-shadow);
        }

        .term-image-container {
            position: relative;
            margin: 1rem 0;
        }

        .term-image-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 0.5rem;
            font-size: 0.8rem;
            border-bottom-left-radius: 0.75rem;
            border-bottom-right-radius: 0.75rem;
        }

        .category-icon {
            font-size: 1.2rem;
            margin-right: 0.5rem;
        }

        .technique-icon {
            color: #6366f1;
            margin-right: 0.5rem;
        }

        .product-icon {
            color: #8b5cf6;
            margin-right: 0.5rem;
        }

        .trend-icon {
            color: #f59e0b;
            margin-right: 0.5rem;
        }