  :root {
            --primary: #7E20F0;
            --secondary: #CF2A63;
            --accent: #9F1A80;
            --dark-bg: #0C0216;
            --light-text: #f8f9fa;
            --dark-text: #212529;
        }

        [data-theme="light"] {
            --bg: #ffffff;
            --text: var(--dark-text);
            --nav-bg: rgba(255, 255, 255, 0.8);
            --card-bg: #f8f9fa;
            --footer-bg: #120624;
            --input-bg: #ffffff;
            --btn-outline-text: var(--dark-text);
            --footer-text: var(--light-text);
            --footer-bg: #f1f3f5;
            --placeholder-color: rgba(0, 0, 0, 0.5);
        }

        [data-theme="dark"] {
            --bg: var(--dark-bg);
            --text: var(--light-text);
            --nav-bg: rgba(12, 2, 22, 0.8);
            --card-bg: #16082b;
            --footer-bg: #120624;
            --input-bg: #1a0933;
            --btn-outline-text: var(--light-text);
            --footer-bg: #120624;
            --footer-text: var(--light-text);
            --placeholder-color: rgba(255, 255, 255, 0.7);
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Poppins', sans-serif;
        }

        .container {
            margin-top: 2rem;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(126, 32, 240, 0.2);
        }

                .btn-home{
            margin-bottom: 3rem;
        }

        .btn-home a {
            color: white;
            text-decoration: none;
        }

        .btn-primary {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            border: none;
            color: white;
            font-weight: 500;
            transition: all 0.3s;
            background-size: 200% 200%;
        }

        .btn-primary:hover {
            background-position: right;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(126, 32, 240, 0.3);
        }

        .btn-outline-custom {
            background: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
            font-weight: 500;
            transition: all 0.3s;
        }

        .btn-outline-custom:hover {
            background: rgba(126, 32, 240, 0.1);
            color: var(--primary);
        }

        .search-container {
            background-color: var(--card-bg);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
            border: 1px solid rgba(126, 32, 240, 0.1);
        }

        .form-control {
            background-color: var(--input-bg);
            color: var(--text);
            border: 1px solid rgba(126, 32, 240, 0.2);
            padding: 0.75rem 1rem;
            transition: all 0.3s;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.25rem rgba(126, 32, 240, 0.25);
        }

        .form-control::placeholder {
            color: var(--placeholder-color) !important;
        }

        .result-container {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 2rem;
            margin-top: 2rem;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(126, 32, 240, 0.1);
        }

        .video-thumbnail {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(126, 32, 240, 0.2);
        }

        .video-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .video-description {
            margin-bottom: 1.5rem;
            line-height: 1.6;
            position: relative;
        }
        
        .description-text {
            display: inline;
        }
        
        .description-short {
            display: inline;
        }
        
        .description-full {
            display: none;
        }
        
        .description-toggle {
            color: var(--primary);
            cursor: pointer;
            font-weight: 500;
            margin-left: 5px;
        }
        
        .description-toggle:hover {
            text-decoration: underline;
        }
        
        .description-expanded .description-short {
            display: none;
        }
        
        .description-expanded .description-full {
            display: inline;
        }

        .keywords-container {
            margin-top: 2rem;
        }

        .keywords-label {
            font-weight: 600;
            margin-bottom: 1rem;
            display: block;
            color: var(--primary);
        }

        .keywords-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .keyword-tag {
            background: rgba(126, 32, 240, 0.1);
            color: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            display: inline-block;
        }

        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .error-message {
            color: var(--secondary);
            text-align: center;
            margin-top: 1rem;
            font-weight: 500;
        }

        .theme-toggle-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 100;
        }

        .theme-toggle {
            background: rgba(126, 32, 240, 0.1);
            border: none;
            color: var(--text);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
        }

        .theme-toggle:hover {
            background: rgba(126, 32, 240, 0.2);
            transform: scale(1.1);
        }

        h2 {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .btn-secondary {
            background: rgba(126, 32, 240, 0.1);
            border: 1px solid var(--primary);
            color: var(--primary);
            font-weight: 500;
        }

        .btn-secondary:hover {
            background: rgba(126, 32, 240, 0.2);
            color: var(--primary);
        }

        .spinner-border {
            display: none;
            width: 1.5rem;
            height: 1.5rem;
            margin-right: 0.5rem;
        }

        .loading .spinner-border {
            display: inline-block;
        }

        @media (max-width: 768px) {
            .action-buttons {
                flex-direction: column;
            }
            
            .btn-custom, .btn-outline-custom {
                width: 100%;
            }
        }