        :root {
            --primary-color: #22c55e;
            --primary-hover: #16a34a;
            --blue-color: #3b82f6;
            --blue-hover: #2563eb;
            --dark-color: #475569;
            --dark-hover: #334155;
            --bg-color: #f8fafc;
            --text-color: #0f172a;
            --card-bg: #ffffff;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Inter', sans-serif;
        }

        html, body {
            height: 100%;
            background-color: var(--bg-color);
            color: var(--text-color);
            display: flex;
            flex-direction: column;
        }

        header {
            background-color: var(--card-bg);
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .brand {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary-color);
            text-decoration: none;
            letter-spacing: -0.5px;
        }

        main {
            flex: 1;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .hero-section {
            text-align: center;
            margin-bottom: 40px;
        }

        .hero-section h1 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .hero-section p {
            color: #64748b;
            font-size: 15px;
        }

        .search-box {
            background: var(--card-bg);
            padding: 8px;
            border-radius: 16px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
            display: flex;
            gap: 8px;
            margin-top: 25px;
        }

        .search-box input {
            flex: 1;
            border: none;
            outline: none;
            padding: 14px 16px;
            font-size: 16px;
            border-radius: 12px;
            background: transparent;
            width: 100%;
        }

        .search-box button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            outline: none;
            padding: 0 24px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 12px;
            cursor: pointer;
            transition: background 0.2s;
            white-space: nowrap;
        }

        .search-box button:hover {
            background-color: var(--primary-hover);
        }

        .search-box button:disabled {
            background-color: #cbd5e1;
            cursor: not-allowed;
        }

        #result {
            margin-top: 30px;
        }

        .result-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 24px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        .author-box {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f1f5f9;
        }

        .author-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary-color);
        }

        .author-info h4 {
            font-size: 16px;
            font-weight: 600;
        }

        .author-info p {
            font-size: 13px;
            color: #64748b;
        }

        .video-desc {
            font-size: 15px;
            line-height: 1.5;
            margin-bottom: 20px;
            color: #334155;
        }

        .download-actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 25px;
        }

        .btn-download {
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            text-decoration: none;
            padding: 15px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            transition: background 0.2s, transform 0.1s;
            text-align: center;
            cursor: pointer;
        }
        
        .btn-download:active {
            transform: scale(0.98);
        }

        .btn-hd { background-color: var(--primary-color); }
        .btn-hd:hover { background-color: var(--primary-hover); }

        .btn-normal { background-color: var(--blue-color); }
        .btn-normal:hover { background-color: var(--blue-hover); }

        .btn-mp3 { background-color: var(--dark-color); }
        .btn-mp3:hover { background-color: var(--dark-hover); }

        .video-cover {
            width: 100%;
            max-height: 380px;
            object-fit: contain;
            border-radius: 12px;
            background: #000;
        }

        .error-msg {
            color: #ef4444;
            background: #fef2f2;
            padding: 16px;
            border-radius: 12px;
            text-align: center;
            font-weight: 500;
        }

        footer {
            background-color: #0f172a;
            color: #94a3b8;
            padding: 20px;
            text-align: center;
            font-size: 14px;
            margin-top: auto;
            width: 100%;
        }

        footer a {
            color: #f8fafc;
            text-decoration: none;
            font-weight: 500;
        }

        footer a:hover {
            text-decoration: underline;
        }

        @media (max-width: 600px) {
            .search-box {
                flex-direction: column;
                padding: 0;
                background: transparent;
                box-shadow: none;
                gap: 12px;
            }
            .search-box input {
                background: var(--card-bg);
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
                border-radius: 12px;
                padding: 16px;
            }
            .search-box button {
                padding: 16px;
                border-radius: 12px;
            }
            .hero-section h1 {
                font-size: 24px;
            }
        }

		.floating-home-btn {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.15); /* Nền mờ */
        backdrop-filter: blur(10px); /* Hiệu ứng kính mờ */
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        z-index: 10000; /* Luôn nổi trên cùng */
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        transition: all 0.2s ease;
    }

    .floating-home-btn:active {
        transform: scale(0.9);
        background-color: rgba(255, 255, 255, 0.3);
    }

    /* Đẩy Header sang phải một chút để không bị nút che mất Logo */
    header {
        padding-left: 65px !important;
    }

		.donate-notice{
    margin:20px 0 25px;
    padding:14px 18px;
    background:#ecfdf5;
    border:1px solid #bbf7d0;
    border-radius:12px;
    font-size:14px;
    line-height:1.6;
    color:#166534;
}

.donate-notice a{
    color:#16a34a;
    font-weight:700;
    text-decoration:none;
}

.donate-notice a:hover{
    text-decoration:underline;
}
